package odgs.listener;

import odgs.Contents;
import odgs.ContentsFile;
import odgs.Directory;
import odgs.ExplorerNode;
import odgs.LoginedGridNode;

public interface ServerManagerListener
{
	void error(int error);
	void serverOpened(int port);
	void loginedNode(String id);
	void joinedNode(String id);
	void logout(String id);
	void addedDirectory(Directory directory);
	void removeDirectory(Directory directory);
	void addedContents(Contents contents);
	void removeContents(Contents contents);
	void updatedExplorerNode(String mode, ExplorerNode node, String name);
	void useStorage(ContentsFile file);
	void freeStorage(ContentsFile file);
	void log(String log);
}